# -*- mode: snippet -*-
# name: python
# key: py
# --
\lstset{language=python}
\begin[language=python]{lstlisting}
$0
\end{lstlisting}